#include"process.h"

double file_size = 1024.0;
double speed = 1.0;

void DownLoad(double size , double split)
{
    double current_size = 0.0;
    while(current_size <= size) 
    {
        FlushProcess(size ,current_size);
        if(current_size == size) break;
       
        current_size += split;
    }
}
int main()
{
    //Process();
    DownLoad(file_size , speed);

    return 0;
}
